package com.example.project.projectspringcloud.entity.order;

import com.example.project.projectspringcloud.entity.BaseEntity;
import com.example.project.projectspringcloud.entity.user.User;
import com.example.project.projectspringcloud.entity.video.Video;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderDetail extends BaseEntity {

    /**
     * 订单ID
     */
    private Integer orderId;

    private Integer goods;

    private String goodsName;

    private String goodsRemark;

    /**
     * 价格
     */
    private BigDecimal goodsPrice;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否评论
     */
    private Integer isComment;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 拍摄信息
     * <p>
     * 同款ID
     */
    private Integer sameStyleId;

    /**
     * 摄影师
     */
    private Integer photographer;

    /**
     * 编剧
     */
    private Integer scriptwriter;

    /**
     * 作品类型
     */
    private Integer videoType;

    /**
     * 作品时长
     */
    private Integer videoDuration;

    /**
     * 拍摄地
     */
    private Integer shootingLocation;

    /**
     * 拍摄开始时间
     */
    private Date shootingStartDate;

    /**
     * 拍摄结束时间
     */
    private Date shootingEndDate;

    /**
     * 套餐
     */
    private Integer combo;

    /**
     * 套餐描述文件
     */
    private String comboFile;

    /**
     * 附加内容对象 |||||
     * <p>
     * 套餐信息
     */
    private OrderCombo orderCombo;

    /**
     * 摄影师
     */
    private User photoGrapherUser;

    /**
     * 编剧
     */
    private User scriptWriterUser;

    /**
     * 同款对应作品
     */
    private Video sameStyle;
}